<html>
<head>
<title>Demo Files</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>

<div id="header" class="rounded10B">
  <div id="logo" class="rounded10B"><img src="img/logo.gif" border="0"></div>
</div>

<div id="content">
    <img src="img/todos.gif" border="0">
    <div class="separ"></div>

    <div class="patternContainer pattern_directory load_on_start" dataObject="directory" dataSource="http://localhost:90/sources_sf_taf/web/fa_dev.php/generic_objects" defaultView="list" callMethod="xmlhttp">
      <div class="hautdroite clear">
        <a class="button" href="#" onClick="this.blur();"><span onClick="insertEmpty(this)">New Directory</span></a>
        <a class="button" href="#" onClick="this.blur();"><span onClick="refresh(this)">Refresh</span></a>
      </div>
      <br>
      <div class="pattern_directory_list directory" id="pattern_directory_list" style="display:none;">
      	<div class="directoryContent">         
              <div>
				<span data="Name" class="Name lien" onClick="manualLoad(this,'directory'); manualLoad(this,'file')"></span>
              	<span data="Description" class="Description info_type"></span>              
                <div class="GUI_commands directory_commandes">
                  <img src="img/pointe_commandes.gif" class="directory_pointe_commandes">  
                  <a class="small_link add_link" href="#" onClick="this.blur();"><span onClick="insertEmpty(this,'file')">New File</span></a>
            	  <a class="small_link delete_link" href="#" onClick="this.blur();"><span onClick="removeGUI(this)">Delete</span></a>
        	      <a class="small_link edit_link" href="#" onClick="this.blur();"><span onClick="goToGUIView(this,'form','list')">Edit</span></a>
    	          <a class="small_link add_link" href="#" onClick="this.blur();"><span onClick="insertEmpty(this,'directory')">New directory</span></a>
	              <a class="small_link refresh_link" href="#" onClick="this.blur();"><span onClick="refresh(this,'directory');refresh(this,'file')">Refresh</span></a>           
                </div>          
              </div>
              <span data="Description" class="Description info_type"></span>
			  <div class="" dataObject="directory" dataSource="http://localhost/sources_sf_taf/web/fa_dev.php/generic_objects" defaultView="list" callMethod="iframe"></div>
			  <div class="patternContainer pattern_file load_on_parent" dataObject="file" dataSource="http://localhost:90/sources_sf_taf/web/fa_dev.php/generic_objects" defaultView="list" callMethod="iframe">
				<div class="pattern_file_list file" id="pattern_file_list" style="display:none;">
                	<span data="File" class="File"></span>     
				</div>
				<div class="pattern_file_form file" id="pattern_file_form" style="display:none;">
					<div class="dragpoint">+</div>
                    <form method="post" enctype="multipart/form-data">
                          Title :<input type="text" data="Name" name="Name" dataType="Text" class="todo_champ_form Name">
                          Description : <input type="text" data="Description" name="Description" dataType="Text" class="todo_champ_form Description">						
                          <input type="file" data="File" name="File" dataType="File" class="todo_champ_form File">
                          <div class="clear"><a class="button" href="#" onClick="this.blur();"><span onClick="applyEditGUI(this,'list')">Save</span></a></div>
                    </form>
				</div>
			  </div>
           </div>
      </div>	  
      <div class="pattern_directory_form directory" id="pattern_directory_form" style="display:none;">
	      <div class="directoryContent">
            <div class="dragpoint">+</div>
            <form>
                <input type="text" data="Name" name="Name" dataType="Text" class="directory_champ_form Name">
                <input type="text" data="Description" name="Description" dataType="Text" class="directory_champ_form Description">
                <div class="clear"><a class="button" href="#" onClick="this.blur();"><span onClick="applyEditGUI(this,'list')">Save</span></a></div>
            </form>
          </div>
      </div>    
    </div>
</div>

<script type="text/javascript" src="../../bibliotheques/jquery-1.2.1.pack.js"></script>
<script type="text/javascript" src="../../bibliotheques/pause.js"></script>
<script type="text/javascript" src="../../bibliotheques/jquery.blockUI.js"></script>
<script type="text/javascript" src="../../bibliotheques/interface.js"></script>
<script type="text/JavaScript" src="../../bibliotheques/jquery.curvycorners.packed.js"></script>
<script type="text/javascript" src="../../bibliotheques/firebug/firebug.js"></script>
<script type="text/javascript" src="../../jsGUIGuy/Misc.js"></script>
<script type="text/javascript" src="../../jsGUIGuy/ServerInterface.js"></script>
<script type="text/javascript" src="../../jsGUIGuy/User.js"></script>
<script type="text/javascript" src="../../jsGUIGuy/PatternMapping.js"></script>
<script type="text/javascript" src="../../jsGUIGuy/GUI.js"></script>
<script type="text/javascript" src="../../jsGUIGuy/GUIList.js"></script>
<script type="text/javascript" src="../../jsGUIGuy/GUIEvents.js"></script>
<script type="text/javascript">

$(document).ready(function() {
  
  var rounded7 = { 
    tl: { radius: 7 },
    tr: { radius: 7 },
    bl: { radius: 7 },
    br: { radius: 7 },
    antiAlias: true,
    autoPad: true};
    
 var rounded4 = { 
    tl: { radius: 4 },
    tr: { radius: 4 },
    bl: { radius: 4 },
    br: { radius: 4 },
    antiAlias: true,
    autoPad: true};
  
  var rounded10 = { 
    tl: { radius: 10 },
    tr: { radius: 10 },
    bl: { radius: 10 },
    br: { radius: 10 },
    antiAlias: true,
    autoPad: true};
    
  var rounded10B = { 
    tl: false,
    tr: false,
    bl: { radius: 10 },
    br: { radius: 10 },
    antiAlias: true,
    autoPad: true}; 

  $(".rounded4").corner(rounded4);
  $(".rounded7").corner(rounded7);
  $(".rounded10").corner(rounded10);
  $(".rounded10B").corner(rounded10B);
  
  autoLoad();	
});

</script>
</body>
</html>